﻿using System.IO;
using System.Reflection;

namespace EasyMapping.Common.Utility
{
    public class FileHelper
    {
        public static FileInfo GetFileFromCurrentDirectory(string name)
        {
            FileInfo fileInfo = new FileInfo(Assembly.GetExecutingAssembly().Location);
            FileInfo target =  new FileInfo(fileInfo.Directory + name);
            return target;
        }
    }
}
